<?php
/**
 * country.php
 * 
 * Created on 2014-12-5
 * Create by LDD
 */

namespace haibao\cms\business;


class City extends \haibao\cms\business\Base{
	
	public static function getCityByCountryValue($CountryValue){
		if(!$CountryValue){
			throw new BusinessException('国家值不能为空');
		}
		$data = new \haibao\cms\data\City();
		return $data->getCitysByCountryValue($CountryValue);
	}
	
	public static function getCityByCityValue($cityValue){
		if(!$cityValue){
			throw new BusinessException('城市值不能为空');
		}
		$data = new \haibao\cms\data\City();
		return $data->getCityByCityValue($cityValue);
	}
}